! name: f.ajt02
! type: ArchiCAD Door File
! ***** 3D script *****


mat1 = c
mat2 = d
tsz = e
tm = f
am = g

prism_   10, 0.045, 
    0, 0.005, 15,
    a/2-tsz+0.01, 0.005, 15,
    a/2-tsz+0.01, am-tsz+0.01, 15,
    0, am-tsz+0.01, 15,
    0, 0.005, -1,

    0.12, 0.25, 15,
    a/2-tsz+0.01-0.12, 0.25, 15,
    a/2-tsz+0.01-0.12, am-tsz+0.01-0.12, 15,
    0.12, am-tsz+0.01-0.12, 15,
    0.12, 0.25, -1

addz (0.045-0.007)/2

material mat1
prism_ 5, 0.007,
    0.12, 0.25, 15,
    a/2-tsz+0.01-0.12, 0.25, 15,
    a/2-tsz+0.01-0.12, am-tsz+0.01-0.12, 15,
    0.12, am-tsz+0.01-0.12, 15,
    0.12, 0.25, -1
   
del 1
 
addz 0.045
addy 0.95
addx 0.06

call "handle_1" mat2

addz -0.045
mulz -1

call "handle_1" mat2
